package com.cskaoyan.util;

import java.util.UUID;

public class RandomNameUtils {
    public static String getName(String name){
        int index = name.lastIndexOf(".");
        String dis = name.substring(index);//获取后缀名
        return UUID.randomUUID().toString().replaceAll("-","") + dis;

    }
}
